To get the light out, there is an oil level sender that is on the block just to the front of the oil filter housing. You have to ground that wire to the block. IF the engine overheated, it probably broke the glass tube inside the oil level sensor that houses the reed switch.
IE< you need to replace the sensor. You will have to remove the sub-oil pan to do this as the sensor is inside there.
ASE CERTIFIED MASTER AUTO TECHNICIAN
MERCEDES SPECIALIST 11 YRS