The defense of usury shall not be allowed in any suit, unless the person relying upon such defense shall set up the same by plea, or file in the cause a notice in writing, stating that he intends to defend against the contract sued upon or set off, on the ground that the contract is usurious.
815 ILCS 205/7