Functional Expansion and Rule of Law Response of Generative Artificial for the Protection of Intangible Cultural Heritage in Public Libraries