TENTH Amendment to Master Repurchase and securities contract Agreement