ODBII codes are exactly the sort of thing that a community will form around to keep their tools useful though. Already the open source tools are pretty good except where the manufacturers are deliberately keeping them private. If the right to repair meant each car company had to publish a CSV or something similar with all of their proprietary codes I guarantee that they would be incorporated into all of the tools pretty much instantly. That is a textbook Right to Repair move.
It also shows why Right to Repair isn't going to happen anytime soon. Those codes are worth money to repair shops and implementing something like that is a direct threat to the revenue stream.