Part of #118145. Use the mesh attribute API instead of the sculpt attribute API which we intend to remove.