I'm sorry, but this does not make sense to me. AFDC was the earlier version of the current TANF, in other words, cash assistance. This is what most people are referring to when they say "welfare," which also includes food stamps (now called SNAP) and medical assistance (Medicaid). It's not something that you can pay into. You can get it if you are eligible. Social Security is composed of income for disabled or retired people, and survivor's benefits for their spouses and/or eligible children when the recipient either dies or becomes disabled. These are entirely different things.