Note that Amazon stopped that co-mingling in their warehouses earlier this year. I don't know what effect it's had on their counterfeit problem, if any, but it's at least one risk factor mitigated.
Prime shipping means it's stored in an Amazon warehouse, independent of who is selling it. Products marked "shipped and sold by Amazon" are a subset of all prime shipping, where Amazon is the vendor.
It used to be the case that there would be big bins containing all of a given product in the warehouse, whether they were being sold by a legitimate vendor or a counterfeiter (though I think vendors could pay extra to not commingle). When you bought a commingled product, there was no way to know whether you were getting one actually sent in by the vendor you made the purchase from. You could buy a product from a legitimate seller but get one sent in by a counterfeiter, or vice versa. Now (since they ended commingling) there are separate bins for each vendor selling through Amazon.
I don't remember them previously announcing the end of commingling.
(And note that I'm simplifying over some asterisks on various points)
Does that mean commingling for "shipped and sold by Amazon" or does each third party seller get its own non comingled are ?