(a) On dissolution of a marriage, the court may impose an equitable lien on the property of a benefited estate to secure a claim for reimbursement against that property by a conferring estate.
(b) On the death of a spouse, a court may, on application for a claim for reimbursement brought by the surviving spouse, the personal representative of the estate of the deceased spouse, or any other person interested in the estate, as defined by Chapter 22, Estates Code, impose an equitable lien on the property of a benefited estate to secure a claim for reimbursement against that property by a conferring estate.