41(10)A term in a contract between a debtor on an account or chattel paper and an assignor that prohibits or restricts assignment of the whole of the account or chattel paper for money due or to become due is binding on the assignor only to the extent that the assignor may be liable in damages for breach of the term, but is unenforceable against third parties.