An officer authorized to take the acknowledgment or proof of a conveyance or other instrument, or to certify such proof or acknowledgment, or to record the same, who is guilty of malfeasance or fraudulent practice in the execution of any duty prescribed by law in relation thereto, is liable in damages to the person injured.
N.Y. Real Prop. Law § 330