CONSENT, RELEASE AND FIRST AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT