They strip the DRM and you end up with an unencrypted AAC file so you can just transcode after that. Some of the tools have the transcoding step built in.