Mass. Gen. Laws ch. 106, § 9-323
(a) When priority based on time of advance. Except as otherwise provided in subsection (c), for purposes of determining the priority of a perfected security interest under Section 9–322(a)(1), perfection of the security interest dates from the time an advance is made to the extent that the security interest secures an advance that:
(1) is made while the security interest is perfected only:
(b) Lien creditor. Except as otherwise provided in subsection (c), a security interest is subordinate to the rights of a person that becomes a lien creditor to the extent that the security interest secures an advance made more than 45 days after the person becomes a lien creditor unless the advance is made:
(d) Buyer of goods. Except as otherwise provided in subsection (e), a buyer of goods other than a buyer in ordinary course of business takes free of a security interest to the extent that it secures advances made after the earlier of:
(f) Lessee of goods. Except as otherwise provided in subsection (g), a lessee of goods, other than a lessee in ordinary course of business, takes the leasehold interest free of a security interest to the extent that it secures advances made after the earlier of: