If the mother was not married at the time of conception or birth, or at any time between conception and birth, the name of the father may not be entered on the certificate of birth without the written consent of the mother and the person to be named as the father unless a judicial determination has been made, in which case the name of the father as determined by the court shall be entered.
SDCL 34-25-13.2