Bacteriophage acquisition restores protective mutualism.