The Growing Role of Artificial Intelligence in Enhancing Network Security