A security interest in favor of a securities intermediary attaches to a person's security entitlement if:
The security interest described in subsection (a) secures the person's obligation to pay for the financial asset.
A security interest in favor of a person that delivers a certificated security or other financial asset represented by a writing attaches to the security or other financial asset if:
The security or other financial asset:
In the ordinary course of business is transferred by delivery with any necessary endorsement or assignment; and
Is delivered under an agreement between persons in the business of dealing with such securities or financial assets; and
The agreement calls for delivery against payment.
The security interest described in subsection (c) secures the obligation to make payment for the delivery.