(A) A consent to adoption is irrevocable and cannot be withdrawn after the entry of an interlocutory order or after the entry of a final decree of adoption when no interlocutory order has been entered. The consent of a minor is not voidable by reason of the minor’s age. (B) A consent to adoption may be withdrawn prior to the entry of an interlocutory order or prior to the entry of a final decree of adoption when no interlocutory order has been entered if the court finds after hearing that the withdrawal is in the best interest of the person to be adopted and the court by order authorizes the withdrawal of consent. Notice of the hearing shall be given to the petitioner, the person seeking the withdrawal of consent, and the agency placing the minor for adoption.