Add component when a prefab is moved to a particular folder,Add a component when a prefab is moved to a particular folder

Hi,
Our team has bought a package that has several prefabs. Of them, we will be working with a few by moving it into a particular folder. My requirement is that I have to add a component to any prefab that is moved into that folder. How do I achieve this?
I looked into OnWillMoveAssets and came with the following prototype for it:

public class ParticleConfigPostProcess : UnityEditor.AssetModificationProcessor
{
	private static AssetMoveResult OnWillMoveAsset(string sourcePath, string destinationPath)
	{
		if (destinationPath.Contains(ParticleEffectPaths.ImpactPrefabPathName))
		{
			//Insert the code for finding the asset and the adding component
		}
		AssetDatabase.MoveAsset(sourcePath, destinationPath);
		return AssetMoveResult.DidMove;
	}
}

But the Unity docs specifically say to not use the AssetDataBase API. How do I find out the Asset that is being moved? And how do I move them?

Thanks!

this might be a good alternative as it does not have any restrictions on the AssetDatabase: