PrefabUtility does not exist?

I am having a issue where every time I try exporting my game it gives me the error that my saving game code for saving a prefab does not exist in the current context. Help?

PrefabUtility is part of UnityEditor assembly, not UnityEngine.
Scripts that uses it must be placed in a /Editor folder, so that the Unity ignores them with you build your project.