The answer depends on the rule for the driver being passed: you may not hinder the pass, including by speeding up. The passing driver planned the maneuver based on your speed; if you speed up, they'll have to stay longer outside their own lane and may not make it back in front of you. So while you're being passed, hold your speed or slow down so the pass ends sooner