When a lien is foreclosed in accordance with the provisions of this chapter, the disposition transfers to a purchaser for value all of the lien debtor's rights therein, discharges the lien under which it is made and any security interest or lien subordinate thereto. The purchaser takes free of all such rights and interests even though the lienholder fails to comply with the requirements of this chapter:
(1) In the case of a public sale, if the purchaser has no knowledge of any defects in the sale and if he or she does not buy in collusion with the lienholder, other bidders, or the person conducting the sale; or
(2) In any other case, if the purchaser acts in good faith.
The purchaser takes subject to any security interest or lien that is superior to the lien under which the sale is made. In the case of property that is subject to a certificate of title, the department of licensing and the department's agents and subagents shall not transfer title through this process unless the new certificate of title reflects the security interest that is superior to the lien under which the sale is made. If a new certificate of title is issued that does not reflect the security interest that is superior to the lien under which the sale is made, the holder of such interest may request and obtain from the department of licensing a replacement certificate of title reflecting such security interest, and showing the purchaser as the registered owner. The department of licensing shall notify the purchaser of the issuance of any replacement title.