Light-activated nanostructures boost cellular defense