CONSENT AND AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT