AMENDED AND RESTATED CONTINGENT EQUITY RIGHTS AGREEMENT