No, Treasury borrowed the money from SS.
Treasury ‘borrowed’ the money from tax revenues, to fund the borrowing from a private banking company/cartel known euphemistically as ‘The Federal Reserve’.