Can I remove a dependent from my return if she is not my dependent this year and I don’t have her ssn?

I am going through paternity process right now and have not had the child as a dependent so I filed her as not a dependent. She is still on my profile from last year but I don’t have access to her ssn and can’t file without it. I need to remove her from my profile or bypass her ssn. What do I do?