(c) The application and the court’s entire record of the proceedings relating to the applicant’s name change is not a matter of public record where the applicant has complied with subsection (b)(1) or (b)(2) of this section. Records qualifying under this subsection shall be maintained separately from other records, shall be withheld from public inspection, and may be examined only by order of the court or with the written consent of the applicant.