NOTES EXCHANGE AND REGISTRATION RIGHTS AGREEMENT Dated as of August 13, 1999