Improve security posture by eliminating non-const data() accessor from Buffer.