Can I stop Linux from listening to a USB input device as a keyboard, but still capture events with a program?

I have a USB barcode scanner at /dev/input/event0 (/dev/input/by-id/usb-Metrologic_Metrologic_Scanner-event-kbd), and scanning a barcode causes it to send keypress events. I’m capturing these keypresses using the libdevinput Ruby library, which works great. The issue is that each barcode is also entered as a username, and subsequently a password on the Raspberry Pi, causing lots of failed login attempts. (The Raspberry Pi will be headless, and inside a microwave.)

Can I easily search my history across many screen windows?

My current screen session has 12 open windows on it. It’s been running for weeks… I know I executed an ImageMagick convert command in one of these 12 screen windows sometime last week… is there any way I can easily search through the Bash history of all 12 instances, without closing them or running history | grep convert in all 12 screens?