Waiver and Second Amendment to Amended and Restated Credit Agreement