In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
Answering your question, The Permanent Committee for Scholarly Research and Ifta’ in Saudi Arabia, states:
If the reality is as you mentioned, it is permissible for your daughter to have a cosmetic surgery to remove that projecting piece of flesh beside her ear, if she will not be harmed by that operation.
Almighty Allah knows best.