New York Laws
Article 3-A - Definition and Enforcement of Trusts
79 - Liens Not Affected.

ยง 79. Liens not affected. Nothing in this article shall prevent the
enforcement of any lien as provided in articles two and three of this
chapter and neither such lien nor any satisfaction obtained thereby,
shall be deemed a diversion of trust assets or an unauthorized
preference. For the purposes of determining the share of any trust
beneficiary upon any distribution in an action to enforce the trust, the
trust claim of a trust beneficiary shall not be reduced by reason of any
lien to which he is entitled or by reason of any rights under any bond
to which he is entitled by reason of his lien.