"Expecting the government to bear the costs of enforcing the law" is not generally what is meant by "socializing the losses", even if you can define the expression in a way that that makes sense.
But I'm going to go out on a limb and guess you've never referred to it as "socializing the losses of having possessions in your home" when police unravel a burglary operation and return the loot to its rightful owners.
But I'm going to go out on a limb and guess you've never referred to it as "socializing the losses of having possessions in your home" when police unravel a burglary operation and return the loot to its rightful owners.