A new study found that people taking certain drugs for type 2 diabetes had less amyloid protein in the brain.