AMENDMENT NO. 2 TO third AMENDED AND RESTATED CREDIT AGREEMENT