Mass. Gen. Laws ch. 188, § 3
(b) An estate of homestead shall be exempt from the laws of conveyance, descent, devise, attachment, seizure, execution on judgment, levy and sale for payment of debts or legacies except as follows:
(5) where buildings on land not owned by the owner of the estate of homestead are attached, levied upon or sold for the ground rent of the lot upon which they are situated; and
[Clause (6) of subsection (b) applicable as provided by 2022, 175, Sec. 30G.]