Are you sure that the hook was
swallowed? And not the result of a broken off snag?
Maybe bass don’t have the same ability as a trout. But I was told, decades ago, by an ODFW Fisheries Biologist that hooks dissolve in 3 days. Due to an enzyme—if memory serves—in their blood. Incidentally that hook wouldn’t have been fully and directly exposed to that dissolving enzyme. If the hook was just on the outside of the
Fish due to being snagged.