(a) The amount owing on a loan that is in default under this chapter, including principal, interest, and collection costs, is a lien upon all property and right to property, real or personal, belonging to the borrower. The lien arises at the time that the commission mails or otherwise delivers a notice of default under AS 14.43.145(b) and continues until the balance of the loan, including principal, interest, and collection costs, is paid in full.
(b) A lien created under (a) of this section is
(1) not valid against a mortgagee or other lienholder, pledgee, purchaser, or judgment creditor until notice of the lien is recorded in the records of the recording district where the property subject to the lien is situated; and
(2) subject to AS 40.19.040(d).