For 98 cars the 2 black earth wires are unused and are identical cut length on mine.
The white wire with a blue trace is one side of the wasted spark coil.
It will be in position 18 of the small plug
This one is needed.
As for what version of MEMS it runs who knows?
Cars after 95 ran 1.9 which supports single and multi injection.
Our 98 JDM's are a bit of everything.
1.9 is supposed to be readable through the OBD port under the dash.
I cant get a thing out of my OBD with my OBD scan tool.
I also have the 3 pin white diagnostic plug under the bonnet near the relay module.
This suggests it could be 1.6.
I have a Sykes Pickavant ACR4 on the way with 3 pin and OBD adaptors and will play around when it turns up.
I don't lose any sleep wondering because whatever version I have it makes the engine run beautifully hot and cold in all engine speeds.
In pre 97 cars the small plug was for the lambda/ oxygen sensor.