Agreements by employees purporting to waive or to modify their rights under this chapter shall be void as contrary to public policy, except that a waiver or modification of rights in favor of the Secretary shall be valid for purposes of enforcement of this chapter.