They'd generally be protected if you were using them purely for legal theories. But that's really left up to judicial discretion.
It's more likely to be ruled in your favor if you started the research after being arraigned, and choosing to represent yourself.
But if you were just googling "murder defense theory" and are accused of murder, they'll be able to use that against you.