An estate vested in a person merely by way of mortgage or on trust shall not escheat or be forfeited to the Commonwealth by reason of the mortgagee or trustee dying without heirs; but any equitable title to lands shall escheat or be forfeited, so far as it would, if the person having the equitable had the legal title.
Code 1919, § 514; 1977, c. 583.