§ 4179. Vital records; fees; city of New York. Notwithstanding the provisions of paragraph one of subdivision a of section 207.13 of the health code of the city of New York, the department of health shall charge, and the applicant shall pay, for a search of two consecutive calendar years under one name and the issuance of a certificate of birth, death or termination of pregnancy, or a certification of birth or death, or a certification that the record cannot be found, a fee of fifteen dollars for each copy. Provided, however, that no such fee shall be charged when the department of corrections and community supervision or a local correctional facility as defined in subdivision sixteen of section two of the correction law requests a certificate of birth or certification of birth for the purpose of providing such certificate of birth or certification of birth to an incarcerated individual in anticipation of such incarcerated individual's release from custody or to obtain a death certificate to be used for administrative purposes for an incarcerated individual who has died under custody or when the office of children and family services or an authorized agency requests a certified copy or certified transcript of birth for a youth placed in the custody of the local commissioner of social services or the custody of the office of children and family services pursuant to article three of the family court act for the purpose of providing such certified copy or certified transcript of birth to such youth in anticipation of discharge from placement.