§31-17-17. Loans made in violation of this article void; agreements to waive article void.
(a) If any primary or subordinate mortgage loan is made in willful violation of the provisions of this article, except as a result of a bona fide error, such loan may be canceled by a court of competent jurisdiction.

(b) Any agreement whereby the borrower waives the benefits of this article shall be deemed to be against public policy and void.

(c) Any residential mortgage loan transaction in violation of this article shall be subject to an action, which may be brought in a circuit court having jurisdiction, by the borrower seeking damages, reasonable attorneys fees and costs.

(d) A licensee who, when acting in good faith in a lending transaction, inadvertently and without intention, violates any provision of this article or fails to comply with any provision of this article, will be excused from such violation if within thirty days of becoming aware of such violation, or being notified of such violation, and prior to the institution of any civil action or criminal proceeding against the licensee, the licensee notifies the borrower of the violation, makes full restitution of any overcharges, and makes all other adjustments as are necessary to make the lending transaction comply with this article.