NASA would never, ever send a rover designed to operate on Mars to the Moon. The Moon and Mars are very different environments. A rover designed to operate on the Moon might be designed to operate on the surface of the Moon
- For just a few days and then die,
- For 14 days (the length of daytime on the Moon, except near the poles) and then die, or
- For a long, long time before it dies.
These three options have distinct design impacts, none of which are met by the Mars rovers.
The first option (a few days) means a rather cheap rover. There would be no reason to send one of those very expensive Mars rovers to the Moon but then expect it to die within a few days. Some of NASA's Commercial Lunar Payload Services (CLPS) options involve a rover that is expected to last only a few days. The amount NASA will pay for such rovers is not even close to the cost of a Mars rover.
The second option (14 days, not at the poles) requires a rover that can withstand significantly higher surface temperatures than the Mars rovers can withstand. This is a significant design change from the Mars rovers. The wheels on the Mars rovers are not designed to handle surface temperatures over 100 °C, and the bodies of the Mars rovers are not designed to handle to much more intense sunlight on the surface of the Moon than occurs on the surface of Mars. This is once again a significant design change from the Mars rovers.
The third option, a lunar rover that lasts a long time, requires a rover that can withstand both significantly higher and significantly lower surface temperatures than the Mars rovers can withstand, and corresponding sustained periods of lack of sunlight and radiation by the rover body to empty space at 2.7 kelvins. This yet again represents a significant design change from the Mars rovers.