"a code in the odometer diagnostics"
Those codes are worthless. If you get a real code reader and plug it into the OBD-II port, you will likely get the real codes.
That odometer function is there for one purpose, quality control testing during the manufacturing process. No mechanics use those codes as they frequently they give false readings, meaning that since you cannot trust them, you must eventually use a real code reader in any case.