Konohanasakuya-hime appears in both the Kojiki and Nihonshoki and appears to have originally associated with protection against fire, per the stories which appear in both chronicles.
Japanese publicists during the twentieth century looked to the controversial Nihonshoki, which claims that Gaya (named "Mimana" also "Kara" in Japanese) was a military outpost of Japan during the Yamato period (300-710).