President Joe Biden has signed a bipartisan bill intended to help schools respond to cardiac emergencies into law.