A new law set to take effect in 2025 will raise the minimum age requirement needed to receive social security benefits.