Where property is inherited by will or intestacy, the devisee or heir shall be given the opportunity to make payments on reasonable terms to correct code violations or to enter into a remediation agreement under section 6131(b)(1)(iii) (relating to municipal permit denial) with a municipality to avoid subjecting the devisee's or heir's other properties to asset attachment or denial of permits and approvals on other properties owned by the devisee or heir.