Yep.VICP and CICP
According to 42 U.S. Code § 300aa–22, "No vaccine manufacturer shall be liable in a civil action for damages arising from a vaccine-related injury or death associated with the administration of a vaccine after October 1, 1988, if the injury or death resulted from side effects that were unavoidable even though the vaccine was properly prepared and was accompanied by proper directions and warnings."
However, individuals can file a petition with the National Vaccine Injury Compensation Program (VICP) administered by the U.S. Department of Health and Human Services (HHS) to receive compensation if they are found to have been injured by one of the vaccines covered by VICP.
In 2005, the Public Readiness and Emergency Preparedness Act (PREP) was created to protect from liability pharmaceutical companies that make or distribute vaccines unless there is "willful misconduct" by the company.
HHS Secretary Alex Azar invoked PREP in February (2021) in response to the pandemic, declaring COVID-19 to be "a public health emergency warranting liability protections for covered countermeasures." link.
Such foresight they had.