FOURTH AMENDMENT AND LIMITED WAIVER TO AMENDED AND RESTATED CREDIT, SECURITY AND GUARANTY AGREEMENT