Player-specific loot tables

Is there a way to make a datapack that when and only when tagged players kill a hostile mob, the mob wouldn't drop any loot? And at the same time, to make sure that the loot are not affected for other players?

Currently I have made it that the tick function file tags all hostile mobs under the scoteboard tag "hostile". And also tagging selected players as "pacify" with scoreboard tag command. However I'm not sure what should I try to do next.

Continue to help post