In the event that a person convicted of a violation of the provisions of this article shall have been licensed by the State of New York as a real estate broker or salesman at the time of such violation, it shall be the duty of the Village Prosecutor to transmit a record of such conviction to the Division of Licensing Services of the Department of State and to make complaint thereto against such licensee, on behalf of the Village, pursuant to the provision of Article 12-A of the Real Property Law.