MASTER ASSIGNMENT, ASSIGNMENT OF LIENS, AND AMENDMENT NO. 1 TO AMENDED AND RESTATED CREDIT AGREEMENT