At the title states, I'm in a serious situation and could use some advice. Please and thank you. Mods, if this is not appropriate for asktrp please delete!

My last LTR "ghosted" me after a disagreement. I did some research and have since discovered that she most likely has narcissistic personality disorder. This explains why she "discarded" me and why she likes to play the victim. I won't go into much detail but the narcissistic cycle of abuse was definitely in play during our almost 3 year relationship. After having broke up, she decided to make a false allegation of assault (it was unfounded) and filed a restraining order against me. The judge ruled in her favor (mostly, he saw through some of her lies) and I thought that would be the end of it. However, after seeing what she is capable of in court I'm now extremely paranoid she will not stop until she has destroyed as much of my life as possible. My biggest concern is a false rape allegation. I'd like to hear any advice or thoughts on how I can best protect myself from this possibility. Some background info, I did not save any of our texts discussing sex (stupid I know) but I do use an iPhone so maybe theres a recover option? I don't know that she will actually do it, but after seeing her create a total fabrication in court against me I don't put anything past her. I pray to god I'm just being paranoid.