No such confession of judgment shall be filed with the clerks of said district courts, unless the defendant or debtor shall attach to and make as a part of the statement required in Section 39-1-11 NMSA 1978, an affidavit setting forth that the same is made in good faith to secure such beneficiary in debt or contingent liability justly due in the sum thus confessed or necessarily entered into, and not with the intention of defrauding any of such defendant's creditors.
NMS § 39-1-15