The Short Version
The evidence strongly supports this as a standard version of the Mae Nak legend. Thai folklore sources widely credit Somdej Toh with subduing Mae Nak by taking a piece of forehead bone and turning it into a sacred amulet. Some versions tell the story differently, but that does not materially change the core folkloric attribution.