The point of having “You were right” was to help with the retcon from TLJ
The only thing that was problematic was “I never lied to you”, because technically speaking Rey was the one to admit her parents were nobody. Theoretically, anything within reason could replace that line to achieve the same goal.