Elimination of Social Security in a Dynastic Framework