AMENDMENT NO. 2 TO AMENDED AND RESTATED CREDIT AND GUARANTY AGREEMENT