Reminds me of the Apple patent for disabling cameras in such situations.
http://bits.blogs.nytimes.com/2011/06/03/apple-patents-way-t...
http://bits.blogs.nytimes.com/2011/06/03/apple-patents-way-t...
If the IR sensor was separate from the camera module you might be able to put tape over it and prevent the signal from being received by your phone, defeating it. But if the IR sensor was actually a custom component embedded inside the CCD chip (which is not out of the question for Apple) then this would be difficult to defeat. You'd have to carefully mask out the non-IR-filtered area of the CCD chip with material that filters IR.