A bill designed to help inform beachgoers about shark attacks is headed to President Trump’s desk for his signature.