The rights of a claimant who gives a construction lender a stop payment notice are not affected by an assignment of construction loan funds made by the owner or direct contractor, and the stop payment notice has priority over the assignment, whether the assignment is made before or after the stop payment notice is given.
Ca. Civ. Code § 8544