The COVID-19 pandemic and the distribution of the vaccines that will prevent it have surfaced haunting memories for Americans who lived through an earlier time when the country was swept by a virus that, for so long, appeared to have no cure or way to prevent it.