Here is an update. I loosened the bolt with a T27 torx key. It came in at an angle but got the screw started. The screw is a 6 mm with an 8mm hex head and a T30. The connector had oil in it. I ordered a replacement which had too small a hole for the 6mm screw. But while I had the new one, I weighed it and the unit I removed from the Spyder. One I took out was 30.3 grams, and the incorrect replacement was 26.3 g. I doubt there was 4 g of oil in the sensor?? Anyway, I cleaned the contacts on the one I removed and put it back in. The Spyder runs fine so far. Screen showed the P0340 and P0000. After a ride, both fault codes disappeared. I just received another replacement from China and it looks to be all one-piece plastic, while the one I took out looked to have a metal body for part of it. Perhaps the all-plastic will not leak?
It is difficult to find magnetic susceptibility for motor oil because it depends on additives among other things. However, oil has virtually no effect on magnetic fields, which is probably how the sensor works. But oil is not conductive either, so I am surprised that oil on the contacts would be a problem either.