Mass. Gen. Laws ch. 183, § 54C
(a) The recordation of a duly executed and acknowledged or proven discharge by a mortgagee, mortgage servicer or note holder shall constitute a discharge of the mortgage and a release of the lien created by the mortgage on the mortgaged premises; provided, however, that a discharge executed by a mortgage servicer or note holder who is not the holder of record of such mortgage, but which discharge is not accompanied by the supporting documents required in subsection (b) of section 55 will operate as a discharge and release of lien as aforesaid only as to a mortgage encumbering a 1–to–4–family residential property and only where the discharge is accompanied or supplemented by the following:
(i)
(ii) an affidavit executed by an attorney licensed to practice law in the commonwealth who, pursuant to a payoff statement from the mortgage servicer or note holder, transmitted funds to the mortgage servicer or note holder sufficient to satisfy in full the outstanding balance of the loan secured by the mortgage or who has ascertained that the payment was made pursuant to a written payoff statement issued to another closing attorney or settlement agent, which affidavit shall certify that: