Are you sure it won't fit the housing you showed? My SE didn't come with fog lights, but I used some generic kit off Amazon for the bezel/housing and wiring, then added the Diode Dynamics SS3 right in, and it looked like the bezel in the first picture.
I'm not an expert with Rav4s, but that second picture looks to be a different model year, like a 4th generation.
I'm not an expert with Rav4s, but that second picture looks to be a different model year, like a 4th generation.