Mass. Gen. Laws ch. 106, § 9-317
(a) Conflicting security interests and rights of lien creditors. A security interest or agricultural lien is subordinate to the rights of:
(2) except as otherwise provided in subsection (e), a person that becomes a lien creditor before the earlier of the time: