This chapter may be modified, amended, or repealed so as to effect a cancellation or alteration of a license or right of a licensee hereunder, but the cancellation or alteration may not impair or affect the obligation of a pre-existing lawful contract between a licensee and a borrower.