From 3/11/08, the Mental Health Act 2007 replaces the Approved Social Worker (ASW) with the Approved Mental Health Professional (AMHP). See Approved Mental Health Professional replaces Approved Social Worker 3/11/08 for details.
From the Act before it was amended:
It was generally ASWs (and now AMHPs) who make applications for detention under s2, s3 and s4.