SECOND AMENDED AND RESTATED STOCK SALE RESTRICTION AGREEMENT