(a) A parent who has not reached eighteen (18) years of age shall have the legal capacity to surrender a child or otherwise give parental consent to adoption or execute a waiver of interest and to release such parent's rights to a child, and shall be as fully bound thereby as if the parent had attained eighteen (18) years of age.
(b) The court shall have the authority to appoint a guardian ad litem for the minor parent of a child who may be surrendered or for whom a parental consent or waiver of interest is given if deemed necessary to advise and assist the minor parent with respect to surrender, parental consent, waiver, or termination of the minor parent's parental rights.