SECOND AMENDED AND RESTATED LOAN AND SECURITY AGREEMENT Dated as of August 21, 1998