Whether you call the child's dad first or not, that little girl needs a voice, Hon. Please be her voice!
If you call CPS, they'll investigate relatives to see who is most fit and who wants to care for that little girl.
Your friend also needs help. Maybe she'll listen to you.
__________________
Psalm 119:105 Thy word is a lamp unto my feet, and a light unto my path.