Your friend needs to talk to a obst\gyn that deals with cervical complications (I found mine by asking obst who they send there cases that are too complexed to deal with) there are many different procedures from lazer to abdominal cervical sutures that they can put in place. This is a thing to be done before she falls pregnant again well not the stitch but to be examined for it. I wish her all the best
Bec