EXHIBIT 4 (d) SECOND AMENDED AND RESTATED REVOLVING CREDIT AGREEMENT