Enterprises these days are mostly rewriting lot of their legacy tech. ChatGPT is by far the best solution to get the first draft of rewrites out and then humans can proof read it, test it, debug it etc.