So you have two problems - your first wife had a child which you say is not yours during your marriage and you want your name removed from the birth certificate.
https://www.askmehelpdesk.com/family...ml#post2832847
You also remarried without divorcing (for whatever reason) your first wife. What proof of dissolution of your first marriage did you present when you remarried?
The first marriage isn't active. That marriage is legal. It's your second which is not a legal marriage.
You hire an Attorney to locate wife #1 and you file for divorce. Child support/custody/visitation and paternity for the child can be settled at the same time. Of course, if she's illegal and you've known it that opens another question.
You need an Attorney.
Maybe wife #1 is whatever she is but I would try to be more "composed" when explaining the situation - you're the one who ends up looking bad.