Both lawmakers were shaped by the 2018 midterms, when Democrats flipped many Republican seats during Trump's first term.