SECOND AMENDED AND RESTATED RIGHTS AGREEMENT Dated as of January 19, 2005