The files and records of the court in an adoption proceeding are not open to inspection or copy except:
The court may not order disclosure of any matter appearing in adoption records unless the Department of Social Services or the licensed adoption agency has received notice of the petition for disclosure of such information and of the date fixed for hearing the petition. The Department of Social Services or the licensed adoption agency shall neither contest nor support the petition for disclosure during its hearing.
SDCL 25-6-15