CONSENT AND FIFTH AMENDMENT TO AMENDED AND RESTATED CREDIT, SECURITY AND GUARANTY AGREEMENT