A debtor of receivables shall not recover from a secured creditor if the grantor of the security interest fails to perform an obligation under an agreement giving rise to the receivables.