AMENDMENT NO. 4 TO THE AMENDED AND RESTATED CREDIT AGREEMENT AND OMNIBUS AMENDMENT TO GUARANTY AGREEMENTS