I wonder how effective any fix could be, if we end up in a situation it happens. Vacuum welding happens because, to borrow from Feynman, atoms literally can't "tell" which sheet of metal they belong to; they end up as one big lump of metal. To fix it, you'd either need to replace the metal parts and/or cut them apart again with a saw or the like - in effect, recreate them from scratch. For hinges, that's easy; lop them off, and the door easily opens. For the inside of a gun...probably not so much.
Like I ninja edited in, I believe that the protective oxide coating would remain until actively removed, preventing anything from being bricked unless someone was messing with it.
As for the fix, wouldn't it just be like someone welding everything together? Just cut the pieces that are stuck together, do some modifying to make them work right again, and finished!
*Editing in
Source (A research paper detailing the issue). It basically talks about how the layer has to be removed for this to be a problem. On static items like engines and weapons on Earth's surface, they would have to be used/bumped around to remove the layer. Otherwise we should be safe.
**DOUBLE SUPER EDIT!**
Looking at it even more, it isn't *actual* welding. The adhesion forces shown from impact are generally under a single newton. While this is enough to halt springs and such, it is something that can easily be moved by the human hand. The paper mentions that grease does successfully block its effects, I think. "Fretting" could theoretically raise the adhesion force to ~10N, which still isn't enough to stop humans from dealing with it.
Recap:
Metal objects keep their protective oxide layer until it is removed by force, so guns and cars sitting in place are still usable. Assuming they are used and remove that protective layer, the adhesion forces that join them together will *probably* make them unusable, but they can easily be fixed by the human hand, and a coating can prevent this from happening altogether.