I am receiving the following error - The definition of object x has changed since it was compiled
Modifying my answer based on the comment by @sepupic. Thank you for pointing out my mistake.

This error is generated if stored procedure definition changes while it is running.