What does "Invalid serialized file header" even mean and how to get rid of it?

I know it’s not a big deal, but having this error just pollutes my console and distracts me off of bugfixing. I’m having an issue with this error since months, and it is annoying. Here’s the full error message:

Invalid serialized file header. File: “library/metadata/36/364cbed7f93dcfe42aca88d373ca461b”.

Does anyone know what does it mean and how to get rid of it? Thanks.

I would assume this is due to some kind of file corruption, or creation error.
If you are willing to do a full re-import and rebuild of your project, you can delete the library folder.

“However, it is always safe to delete the Library folder (while the project is not open in Unity) as all its data is generated from what is stored in the Assets and ProjectSettings folders. This also means that the Library folder should not be included in version control”
https://docs.unity3d.com/Manual/BehindtheScenes.html