Enzyme may have key dual role in memory formation