plone/plone.outputfilters — comment on commit 878eef9b0acc1dcdd68057ae51eb94964e1fbdbf
File:  line 0
By tomgross:

This code is only hit for AT content in Plone 3. The uuid of DX content is get via plone.app.uuid.
I don't mind which code to use as long as it works with protected items ;), which is the case with your version.