The bankruptcy code and / or case law may nullify such contractual clauses...for example, assignment consent often falls by the wayside or is not recognized in this context or is otherwise superseded by the bankruptcy code...
In short, the contractual language may not have been modified..