Gerrhopilus mirus
Jan's worm snake is a small burrowing snake in the family Gerrhopilidae (Wikipedia, general species account).
No further species-level description was available in the source consulted.
All snakes of Sri Lanka (full list)