If perfected prior to the recording of a notice of claim of lien against proceeds, the following liens have priority over a lien created under this subchapter:
(1) Statutory liens, mortgages, deeds of trust, assignments of rents, and other encumbrances, including all advances or charges made or accruing under statutory liens, mortgages, deeds of trust, assignments of rents, and other encumbrances, whether voluntary or obligatory; and
(2) Modifications, extensions, renewals, and replacements to any of the liens listed in subdivision (1) of this section.