(2)All persons who are knowingly parties to any such contravention shall be liable, jointly and severally, to the lending company for the repayment of the loan, or for making good the sum which the lending company may have been called upon to pay in virtue of the guarantee given or the security provided by such company.