(2) If the real property sold at an execution sale is farmland, the certificate holder has a lien on the first crops sown or grown after the sale and for all sums reasonably expended by the certificate holder in plowing, cultivating or seeding the property. The lien of the certificate holder is superior to all other liens except the liens provided by law for payment of wages for work in cultivating the land or harvesting the crops grown on the property. If the real property is not farmland, the certificate holder has a lien on the profits accruing from the property during the period that the certificate holder held the land for sums necessarily expended by the certificate holder to prevent waste. [2005 c.542 §43]