AMENDMENT NO. 2 to AMENDED AND RESTATED CREDIT AGREEMENT AND OTHER AGREEMENTS