SECOND AMENDMENT AND CONSENT dated as of May 30, 1997 Relating to NOTE PURCHASE AGREEMENT