Unable to load module 'muc_mam'

When I added following settings got error.
To enable, simply add to modules_enabled on a MUC component:
Component “rooms.test.com” “muc”
modules_enabled = { “muc_mam” }
muc_log_presences = true
log_all_rooms = true

Unable to load module ‘muc_mam’: /usr/lib/prosody/modules/mod_muc_mam.lua: No such file or directory

This is jitsi-meet quich install and prosody version 0.10.0.

Where have you added this module, when you downloaded it?

I checked here: https://hg.prosody.im/prosody-modules/file/tip
But unable to find this module.
Would you suggest he module and settings required to save chat history in backend postgresql DB?

@valsaraj_pv you got solution for this?