The orbital path of the planet is determined by the balance of the gravitational pull of that planet and the larger body it orbits. Mass does not change the orbital path because the mass that determines this “balance” is the mass of the body the planet is orbiting, not the mass of the planet itself