N.Y. Domestic Relations Law § 15
(b) Every application for a marriage license shall contain a statement to the following effect: NOTICE TO APPLICANTS
(b) the written approval of a justice of the supreme court or of a judge of the family court, having jurisdiction over the town or city in which the application is made, to be attached to or endorsed upon the application, before the license is issued. The application for such approval may be made by either minor party to the proposed marriage and shall be heard by the judge at chambers. The justice of the supreme court or the judge of the family court shall appoint an attorney for the child for each minor party immediately upon the application for approval. The attorney for the child must have received training in domestic violence including a component on forced marriage. All papers and records pertaining to any such application shall be sealed and withheld from inspection, except by order of a court of competent jurisdiction. Before issuing any approval, the justice of the supreme court or the judge of the family court shall: