Unless otherwise provided, every loan or other investment made in violation of this Chapter is due and payable according to its terms and the obligation thereof is not impaired; provided, that the violation consists only of the lending of an excessive sum on authorized security or of investing in an unauthorized investment. (1991, c. 680, s. 1.)