Final answer:
The Civil Rights Act of 1964 provided legal protections against discrimination in voter registration requirements and public accommodations.
Step-by-step explanation:
The government action that provided these legal protections was the Civil Rights Act of 1964. This act was a landmark legislation in the United States that aimed to end discrimination based on race, color, religion, or national origin. It prohibits discriminatory voter registration requirements and ended discrimination in all public accommodations.
Learn more about The Civil Rights Act of 1964