Nihon Shoki
The "Nihon Shoki" gives the same episode in the same general gist, albeit more vaguely regarding this deity.