This is true but a lot of frogs don't mind the slime the worms secrete. They mainly secrete this substance to keem themselves moist and to help them travel through there tunnels easily. It does act as a slight defence but obviously not a very good one. Its mainly to defend against ants. And other biting insects. The same with slugs.