Social security is self funded and is actually a buyer of US debt. So there is no direct connection between social security shortfalls and US gross federal debt.
As an analogy: do you think that Costco generates most of its profits from sales of goods or from membership fees? Both answers seem valid.