sentence1: In effect, Social Security surpluses reduced the magnitude of government dissaving and the government's need to borrow from the public.
sentence2: The surpluses of Social Security had the effect of reducing instances of the government borrowing the public's money.