Immodest Pictures

If one has an immodest picture or a tv and watches immodest things and that person wants to make a bracha on the mezuzah is it levatala because it says guard your eyes in the parchment of the mezuzah, so it’s contradicting itself?

He can say the bracha, it’s no problem at all.

RABBI SHAY TAHAN