Here is another way to view the situation.
Ex-wife thought you were pedophile and would have tried to hold that against you, as that is illegal. Now she knows you are a CD, which is not even a psychiatric diagnosis, but an ascertainment. Who knows, maybe she would have liked a submissive CDer.
Which school and the possible brainwashing has not changed. It is the power to use your secret with your daughter or in any proceedings that matter, in my view. So is the secret, now known rather than the worse one suspected, that powerful?
You don't live nearby, so ex is not likely to interfere with your daily life. She could spoil your daughter, but I can see her being much more scared of pedophile than CDer, if she knows there is a difference. And in court, I see little power of what you do at home when daughter lives with her.
So please elaborate on your fears and stop having panic attacks.
Hugs, Ellen